
#ifndef   __CELL_MODEM_H__
#define   __CELL_MODEM_H__

typedef struct
{
	char port[8];
	char ip_addr[16];
}modem_net_msg_t;

extern xQueueHandle modem_out_queue;
extern xQueueHandle modem_cmd_queue;

void modem_init ( void );
void modem_task ( void *pvParameters );
void modem_net_task ( void *pvParameters );

int modem_read_msg ( char *answer_buf, unsigned int timeout, unsigned char wait_for_ok );
int _modem_read_msg ( char *answer_buf, unsigned int timeout, unsigned char wait_for_ok );

#endif
